package com.xz.courseschedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xz.courseschedule.entity.Course;
import com.xz.courseschedule.utils.Result;

import java.util.List;

public interface CourseService extends IService<Course> {

    Result getList();

    Result getById(Long id);

    Result add(Course course);

    Result update(Course course);


    Result delete(Long id);

    Result deleteBatch(Long[] ids);
}
